﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using WeixinSB.Model;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;

// The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236

namespace WeixinSB.Control
{
    public sealed partial class PraiseControl : UserControl
    {
        public PraiseControl()
        {
            this.InitializeComponent();
            ic.ItemsSource = new List<CommentModel>
            {
                new CommentModel{ Type="1"},                
                new CommentModel{ Type="2",Text="老刘"},
                new CommentModel{ Type="3",Text=","},
                new CommentModel{ Type="2",Text="老刘大大"}, 
                new CommentModel{ Type="3",Text=","},
                new CommentModel{ Type="2",Text="常常"},
                new CommentModel{ Type="3",Text=","},
                new CommentModel{ Type="2",Text="不正常"},
                new CommentModel{ Type="3",Text=","},
                new CommentModel{ Type="2",Text="马云"},
                new CommentModel{ Type="3",Text=","},
                new CommentModel{ Type="2",Text="落落"},
                new CommentModel{ Type="3",Text=","},
                new CommentModel{ Type="2",Text="撸撸大"}, 
                new CommentModel{ Type="3",Text=","},
                new CommentModel{ Type="2",Text="马化腾"},
                new CommentModel{ Type="3",Text=","},
                new CommentModel{ Type="2",Text="玛德"}, 
                new CommentModel{ Type="3",Text=","},
                new CommentModel{ Type="2",Text="Fuck"},
                new CommentModel{ Type="3",Text=","},
                new CommentModel{ Type="2",Text="逗比"},
                new CommentModel{ Type="3",Text=","},
                new CommentModel{ Type="2",Text="PM傻B"},
                new CommentModel{ Type="3",Text=","},
                new CommentModel{ Type="2",Text="老刘大大"},
                new CommentModel{ Type="3",Text=","},
                new CommentModel{ Type="2",Text="老刘大大"},
                

            };

            icFour.ItemsSource = new List<CommentModel>
            { 
                new CommentModel{ Type="4",Text="好评好评牛逼", UserName="测试人"},
                new CommentModel{ Type="4",Text="点赞点赞点赞点赞点赞点赞", UserName="吴金伟"},   
                new CommentModel{ Type="4",Text="点赞点赞点赞点赞点赞点赞", UserName="老刘"}, 
            };
        }
    }
}
